package edu.lit.wantwords.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yc
 * @since 2022-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Users对象", description="")
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "用户账号")
    private String userName;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户年龄")
    private Integer age;

    @ApiModelProperty(value = "当前阶段")
    private String currentStage;

    @ApiModelProperty(value = "用户生词本")
    private String userRow;

    @ApiModelProperty(value = "用户当前使用的字典")
    private String userCurrentDict;

    @ApiModelProperty(value = "用户搜索记录")
    private String userSearchHistory;

    @ApiModelProperty(value = "用户已记完的单词")
    private String userFinished;

    @ApiModelProperty(value = "用户上一次记到的单词的序号")
    private Integer userNextWord;

    @ApiModelProperty(value = "用户目前记了多少单词")
    private Integer userFinishedNum;

    @ApiModelProperty(value = "用户已使用的字典")
    private String userDicts;

    @ApiModelProperty(value = "逻辑删除")
    private Integer isDelete;

    @ApiModelProperty(value = "创建日期")
    private Date gmtCreate;

    @ApiModelProperty(value = "修改日期")
    private Date gmtModified;


}
